package com.ylr.blog.framework.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wyw
 * date: 2023-05-23 22:24:25
 * className: BlogTagEntity
 * version: 1.0
 * description:
 * 	博客标签表
 */
@Getter
@Setter
@ToString
@Accessors(chain = true)
@TableName("yb_blog_tag")
public class BlogTagEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 标签主键
	 */
	@TableId
	private Long id;

	/**
	 * 标签名字
	 */
	private String name;

	/**
	 * 排序等级
	 */
	private Integer sort;

	/**
	 * 状态[0-可用 1-停用]
	 */
	private Integer status;

	/**
	 * 删除状态[0-正常 1-删除]
	 */
	private Integer deleteStatus;

	/**
	 * 更新时间
	 */
	private Date updateTime;

	/**
	 * 更新用户
	 */
	private String updateUser;

	/**
	 * 更新用户主键
	 */
	private Long updateUserId;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 创建用户
	 */
	private String createUser;

	/**
	 * 创建用户主键
	 */
	private Long createUserId;

}
